package com.car.account.service;

import com.car.account.dto.userCarDto.UserCarDto;
import com.car.account.entity.UserCar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.account.param.userCarParam.UserBindCarParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface UserCarService extends IService<UserCar> {

    void userBindCar(UserBindCarParam param)throws Exception;

    void userUnbindingCar(Integer userId, Integer userCarId)throws Exception;

    List<UserCarDto> selectCarByUserId(Integer userId)throws Exception;
}
